package day7;

public class bird{
    boolean wing;//是否有翅膀
    boolean fly;
    int leg;
}

class sparrow extends bird{
    int age;
    double weight;
}

class ostrich extends bird{
    double height;
    double speed;
}

class eagle extends bird{
    String food;
    double altitude;
}
